package com.dongdongshop.service.impl.specification_option;

import com.dongdongshop.mapper.TbSpecificationOptionMapper;
import com.dongdongshop.pojo.specification_option.TbSpecificationOption;
import com.dongdongshop.service.specification_option.SpecificationOptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class SpecificationOptionServiceImpl implements SpecificationOptionService {
    @Autowired
    private TbSpecificationOptionMapper tbSpecificationOptionMapper;

    @Override
    public List<TbSpecificationOption> getSpecificationOption(Long id) {
        return tbSpecificationOptionMapper.selectBySpecId(id);
    }
}
